<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>社区动态</title>
    <link rel="stylesheet" type="text/css" href="../css/col.css">
    <link rel="stylesheet" type="text/css" href="../css/planRelease.css">
    <style>

        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        li{/*列表中的项目*/
            float: left;
            overflow: auto;
        }

        ul.a{/*上边界列表格式*/
            list-style-type: none;/*列表项目开头格式*/
            margin: 0;/*元素边框外边界*/
            padding: 0;
            overflow: hidden;/*元素溢出元素框时隐藏*/
            background-color: #A9A9A9;
        }

        .else{/*其他页面标签style*/
            float: left;
            display: block;
            color: white;
            text-align: center;
            padding: 14px 50px;
            text-decoration: none;
        }

        .now{/**当前页面标签style**/
            float: left;
            display: block;/*块级元素*/
            color: white;
            text-align: center;/*文本水平居中*/
            padding: 14px 50px;/*元素边框上下左右内边距*/
            text-decoration: none;/*文本修饰，防止链接带下划线*/
            background-color: #ADD8E6;
        }

        .else:hover:not(.active){/*a:hover链接鼠标指针浮动 :not()非指定元素*/
            background-color: #696969;
        }

        .row::after{/*主表格部分*/
            content: "";/*after在被选元素后插入内容,内容为空*/
            clear: both;/*左右两侧不允许浮动元素*/
            display: table;/*块级表格*/
        }

        .star{font-size:20px; color:#ccc; cursor:pointer; float:right;margin-right: 50px;}

    </style>
</head>

<body style="margin:0; padding:0">

    <!--上边界部分-->
    <ul class="a">
        <!--无序列表-->
        <li>logo</li>
        <li> <a class="now" href="#">社区动态</a> </li>
        <li onclick="SW()"> <a id="v" href="HomePage.html?value=" class="else">个人主页</a> </li>
        <li style="float:right;"> <a href="../index.html"> <img src="../images/yh.png" alt="LogIn" style="width: 45px; height: 45px; border-radius: 50%; padding: 3px;"> </a> </li>
    </ul>

    <!--计划制订-->
    <div class="w">
        <h1 style="margin-top: 30px;">制订计划</h1>
        <div class="mainpart">
            <form style="margin-top: 10px; font-size: 16px;">
                计划名称：<input type="text" name="活动名称" id="eventname" style="border-radius: 8px; background-color: #DCDCDC">
                <br>
                开始时间：<input type="text" name="活动名称" id="starttime" style="border-radius: 8px; margin-top: 14px; background-color: #DCDCDC">
                <br>
                结束时间：<input type="text" name="活动名称" id="overtime" style="border-radius: 8px; margin-top: 14px; background-color: #DCDCDC">
            </form>
            <textarea placeholder="制订属于你的计划。。。"
                      cols="30"
                      rows="10"
                      id="area"></textarea>
            <div>
                <span class="useCount" id="useCount">0</span>
                <button id="send" onclick="App.EventRelease()">发布</button>
            </div>
        </div>

        <div id="imgList"></div>

        <div style="display: none">
            <input type="file" id="toFileId" onchange="onchangeFile(this)" accept="image/*">
        </div>

        <div onclick="onclickFile()" style='float: left;width: 100px;height: 100px;margin-left: 10px;background-color: #ADD8E6; text-align: center; font-size: 70px; line-height: 100px;'>
            +
        </div>

        <!--计划列表-->
        <div class="contentList">
            <ul id="list" style="list-style-type: none;">
                <!--<li class="info">-->
                    <!--                <img src="../images/tx.png" class="tx" alt="头像">-->
                    <!--<span class="username">游客的计划</span>
                    <p class="planname">活动名称</p>
                    <p class="time">开始时间<br><br>结束时间</p>-->
                    <!--                <p class="plancontent">asdasasdsadasdasdasdasdas</p>-->
                    <!--<img src="../images/star.png" alt="收藏" class="star" >
                </li>-->
            </ul>
        </div>
    </div>

    <!--内容列表-->
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="../js/eventRelease.js" charset="GBK"></script>
    <script src="../js/Homepage.js" charset="GBK"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/web3.min.js"></script>
    <script src="../js/truffle-contract.js"></script>
    <script src="../js/photo.js"></script>
    <script>
        function SW() {
            document.getElementById("v").href += UserHome.UserId;
        }
    </script>

</body>

</html>
